<%-- 
    Document   : index
    Created on : Jul 14, 2011, 10:52:05 AM
    Author     : cedric.creusot
--%>

<%@include file="header.jsp" %>

<logic:equal name="user" property="isLogged" value="true">
    <logic:equal parameter="action" value="myinfo">
        <%@include file="userinfo.jsp"%>
    </logic:equal>
    <logic:equal parameter="action" value="myprojects">
        <%@include file="projects.jsp"%>
    </logic:equal>
    <logic:present parameter="proj">
        <logic:present parameter="diag">
            <%@include  file="diagrammeditor.jsp" %>
        </logic:present>
        <logic:notPresent parameter="diag">
            <%@include file="project.jsp"%>                
        </logic:notPresent>
    </logic:present>  
</logic:equal>
<logic:equal name="user" property="isLogged" value="false">
    <%@include file="login.jsp"%>
</logic:equal>

<%@include file="footer.jsp" %>